package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import com.youlu.campus.base.user.UserBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 微信模版消息
 */
@Getter
@Setter
@Document("wechat_template_msg")
public class WechatTemplateMsg extends EntityBase {
    private String name;
    /**
     * 默认服务号,wechat-h5:服务号，wechat-mini:小程序
     */
    private String platform = "wechat-h5";
    private String appName;
    /**
     * 微信后台模版ID
     */
    private String templateId;

    private String appId;

    /**
     * 操作人
     */
    private String optUserName;
    /**
     * 状态,0:启用,1:禁用,2:待定
     */
    private Integer status = 0;
}
